package com.trip.wechat.platform.subsystem;

import com.trip.wechat.platform.model.AccessTokenBO;

/**
 * 功能说明: <br>
 * 系统说明: <br>
 * 模块说明: <br>
 * 功能描述: <br>
 */
public interface AccessTokenFacade {

    /**
     * 获取 access_token
     *
     * @param appId         AppId
     * @param appSecret     AppSecret
     * @param publicKey     PublicKey
     * @return  Optional<AccessTokenBO>
     */
    AccessTokenBO fetchAccessToken(String appId, String appSecret, String publicKey);
}
